package com.hs.user.dao;

import com.hs.user.entity.Teacher;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface TeacherMapper {
    int deleteByPrimaryKey(Integer tid);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(Integer tid);

    List<Teacher> selectByTids(@Param("tids") List<Integer> tids);

    Teacher selectByPrimaryKeyWithStudents(Integer tid);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);
}